public class EightDiscount implements DiscountStrategy {
    // 重写DiscountStrategy接口中的applyDiscount方法
    @Override
    public double applyDiscount(double price) {
        // 返回原价的80%
        return price * 0.8;
    }
}
